package com.fast.common.utils;

import cn.hutool.core.lang.Snowflake;
import lombok.extern.slf4j.Slf4j;


@Slf4j
public class IdUtil {

    private static Snowflake SNOWFLAKE;

    public static String genSnowId() {
        return String.valueOf(SNOWFLAKE.nextId());
    }

}
